<!--{if $arrJiajucompany['jiajucompany_isfvip']==1}-->
<!--<include file="Jiaju_Extend::getTemplate($arrJiajucompany,'vipheader',true)" />-->
<!--{d*else}-->
<!--<include file="Core_Extend::template('header')" />-->
<!--{/if}-->

	<!--{if !$arrJiajucompany['jiajucompany_isfvip']}-->
	<div class="container_12">
		<ul class="breadcrumb">
			<li><a href="<!--{:__APP__}-->" title="<!--<lang package='__COMMON_LANG__@Common'>-->主页<!--</lang>-->"><!--<lang package='__COMMON_LANG__@Common'>-->主页<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
			<li><a href="<!--{:Q::U('[D]~@jiaju://public/index')}-->" title="<!--<lang package='Template'>-->家居装饰<!--</lang>-->"><!--<lang package='Template'>-->家居装饰<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
			<li><a href="<!--{:Q::U('[D]~@jiaju://company/index')}-->"><!--{$GLOBALS['_citysite_']['site_name']}--><!--<lang package='Template'>-->装修公司排名<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
			<li><!--{$arrJiajucompany['jiajucompany_fullname']}--></li>
		</ul>
	</div>
	<!--{/if}-->

	<div class="container_12 container_box">
		<!--<include file="Jiaju_Extend::getTemplate($arrJiajucompany,'menu',true)" />-->

		<div class="grid_12">
			<div class="common_contentbox common_contentboxwhite clearfix">
				<div class="common_contentbody">
					<h1 class="title">公司地图</h1>
					<div class="map_box">
						<div style="width:888px;height:600px;" id="container"></div>
						<script type="text/javascript" src="http://api.map.baidu.com/api?key=46ce9d0614bf7aefe0ba562f8cf87194&v=1.1&services=true">
						</script>
						<script type="text/javascript">
						var map = new BMap.Map("container");
						var point = new BMap.Point( <!--{$arrJiajucompany['jiajucompany_baidumap']}--> );
						map.addControl(new BMap.NavigationControl());
						var marker = new BMap.Marker(point);
						var opts = {
							width: 300,/* 信息窗口宽度 */
							height: 100,/* 信息窗口高度 */
							title: "<div class='map_fullname'><!--{$arrJiajucompany['jiajucompany_fullname']}--></div>" /* 信息窗口标题 */
						};

						map.centerAndZoom(point, 15);
						map.addOverlay(marker);

						var infoWindow = new BMap.InfoWindow("<div class='map_item'>地址：<!--{$arrJiajucompany['jiajucompany_address']|htmlspecialchars}--></div><div class='map_item'>电话：<!--{if $arrJiajucompany['jiajucompany_telephone']}--><!--{$arrJiajucompany['jiajucompany_telephone']|htmlspecialchars}--><!--{d*else}--><!--{$arrJiajucompany['jiajucompany_telephone']}--><!--{/if}--></div><div class='map_item'>工作时间：<!--{$arrJiajucompany['jiajucompany_worktime']|htmlspecialchars}--></div>", opts); /*  创建信息窗口对象 */
						map.openInfoWindow(infoWindow, map.getCenter()); /* 打开信息窗口 */
						map.enableScrollWheelZoom(); /* 启用滚轮放大缩小 */
						map.enableKeyboard(); /* 启用键盘操作 */

						marker.addEventListener("click",
						function() {
							this.openInfoWindow(infoWindow);
						});
						</script>
					</div>
				</div>
			</div>
		</div>
		<div class="clearfix"></div>
	
	</div>

<!--<include file="Core_Extend::template('footer')" />-->